A microfluidic device is provided for delivering a drug to an individual. The microfluidic device includes a body that defines a reservoir for receiving the drug therein. A valve interconnects the reservoir to an output needle that is insertable into the skin of an individual. A pressure source urges the drug from the reservoir toward the needle. The valve is movable between a closed position preventing the flow of the drug from the reservoir to the output needle and an open position allowing for the flow of the drug from the reservoir to the output needle in response to a predetermined condition in the physiological fluids of the individual.